/**
 *  *2010-3-8 上午11:23:55  add 
 */
package com.base.myproject.client.tools;

import java.io.Serializable;

/**
 * 检查会员的基本信息,只在收单管理里使用，检查后会根据内码提交单据状态
 * 检查会员的剩余金额和curpaid 当前付款金额做比较，剩余金额 - curpaid 返回true 否则false
 * mode 1 为根据ccode查找 2 为根据name查找 3 为根据phone查找 4 为根据s_cardno查找
 * @see GreetingServiceAsync.getAssociator(String ccode,int mode)
 * @author Administrator 2010-3-8 javazgw@gmail.com
 */
public class CommandSyncAssociator extends CommandSync implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6966049666878770489L;

	String ccode;
	int mode;
	double curpaid;//现在需要付款金额
	int icode;//s_service_po的内码
	public CommandSyncAssociator() {
		commandname="ASSOCIATOR_INFO";
	}
	public String getCcode() {
		return ccode;
	}
	public void setCcode(String ccode) {
		this.ccode = ccode;
	}
	public int getMode() {
		return mode;
	}
	public void setMode(int mode) {
		this.mode = mode;
	}
	public double getCurpaid() {
		return curpaid;
	}
	public void setCurpaid(double curpaid) {
		this.curpaid = curpaid;
	}
	public int getIcode() {
		return icode;
	}
	public void setIcode(int icode) {
		this.icode = icode;
	}

	

}
